The generator matrix

 1  0  0  1  1  1  1
 0  1  0  1  0  X  X
 0  0  1  1  1  1 X+1
 0  0  0  X  0  X  0
 0  0  0  0  X  X  X

generates a code of length 7 over Z2[X]/(X^2) who�s minimum homogenous weight is 4.

Homogenous weight enumerator: w(x)=1x^0+26x^4+32x^5+37x^6+64x^7+37x^8+32x^9+26x^10+1x^14

The gray image is a linear code over GF(2) with n=14, k=8 and d=4.
As d=4 is an upper bound for linear (14,8,2)-codes, this code is optimal over Z2[X]/(X^2) for dimension 8.
This code was found by Heurico 1.16 in 0.000249 seconds.